import React, { memo } from 'react'
import { useRoutes } from 'react-router-dom'
import routes from './routes'
import Tab from './components/Tab'
const App = memo(() => {
  return (
    <div className="app">
      <div className="top"></div>
      <div className="body">{useRoutes(routes)}</div>
      <div className="bottom">
        <Tab></Tab>
      </div>
    </div>
  )
})

export default App
